-- GENERATED SPELL FOR [Hulking Atrocity] --


function spell0_26948(pUnit, Event) --@Infected Bite,n/a--
pUnit:FullCastSpellOnTarget(49861,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_26948', 8000, 1)
end

function Sorts_26948(pUnit, Event)
local choix_sorts_26948 = math.random(0, 0)
if choix_sorts_26948 == 0 then
pUnit:RegisterEvent('spell0_26948', 1, 1)
end
end

function mob26948_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_26948', math.random(1500, 3000), 1)
end

function mob26948_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob26948_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob26948_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(26948, 1, 'mob26948_Action')
RegisterUnitEvent(26948, 2, 'mob26948_Leave')
RegisterUnitEvent(26948, 3, 'mob26948_Kill')
RegisterUnitEvent(26948, 4, 'mob26948_Die')
